package jxerializeml.clues.fields;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Defines maximal possible value which can be
 * assigned to the numeric field during deserialization.
 * 
 * @author Tomáš Zíma
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface AllowedMaxValue {
	/**
	 * @return
	 *     Maximal possible value which can be assigned to the field.
	 */
	public double max();
}
